package com.svse.dao;

import java.util.List;

import com.svse.vo.Productinfo;

public interface ProductinfoDAO {

	// property constants
	public static final String PRODUCENAME = "producename";
	public static final String PRODUCEPRICE = "produceprice";
	public static final String PRODUCENOTE = "producenote";
	public static final String PRODUCEPIC = "producepic";

	public abstract void save(Productinfo transientInstance);

	public abstract void delete(Productinfo persistentInstance);

	public abstract Productinfo findById(java.lang.Integer id);

	public abstract List findByExample(Productinfo instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByProducename(Object producename);

	public abstract List findByProduceprice(Object produceprice);

	public abstract List findByProducenote(Object producenote);

	public abstract List findByProducepic(Object producepic);

	public abstract List findAll();

	public abstract Productinfo merge(Productinfo detachedInstance);

	public abstract void attachDirty(Productinfo instance);

	public abstract void attachClean(Productinfo instance);
	
	public abstract List findAllByPage(int beginIndex,int maxLength);
	
}